﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KanbanizeAPI
{
    public interface KanbanizeResultParser
    {
        // Success checking
        KanbanizeSuccessResult SuccessResultFromCreateTask(string s);

        // Error checking
        KanbanizeError ErrorCheck(string s);
        
        // login operations
        KanbanizeLogin KanbanizeLoginFromLoginRequest(string s);

        // get_projects_and_boards operations
        List<KanbanizeProject> ProjectsFromProjectsAndBoardsResult(string s);

        // get_board_settings operations
        List<KanbanizeUser> UsersFromSettingsResult(string s);
        List<KanbanizeTemplate> TemplatesFromSettingsResult(string s);
        List<KanbanizeType> TypesFromSettingsResult(string s);

        // get_board_structure operations
        KanbanizeBoard BoardStructureFromStructureResult(string s);

    }
}
